const mongoose = require('mongoose')

let likeSchema = new mongoose.Schema({
    id:{
        type:String,
        required:true,
        unique:true
    },
    user_id:{
        type:String,
        required:true,
    },
    aid:{
        type:String,
        required:true,
    },
    status:{
        type:Number,
        required:true
    }
})

module.exports = mongoose.model('like',likeSchema,'like')